<!--{template admin/header_tpl}-->

<div class="mainarea">
	<div class="maininner">
		<div class="bdrcontent">
			<div class="title"><h3>数据统计</h3></div>
			<p>数据为每2小时自动更新一次，如果想得到最新数据请选择左侧菜单更新缓存来更新</p>
		</div>
		<br />
		
		<div class="bdrcontent">

			<div class="title">
				<h3>用户统计</h3>
			</div>
			<table>
				<tr><th width="80">用户总数:</th><td>{$user_num}</td></tr>
				<tr><th width="80">活动总数:</th><td>{$activity_num}</td></tr>
				<tr><th width="80">上架活动数量:</th><td>{$upindex_act}</td></tr>
				<tr><th width="80">下架活动数量:</th><td>{$downindex_act}</td></tr>
				<tr><th width="80">商品总数:</th><td>{$goods_num}</td></tr>

			</table>
		</div>
		<div class="bdrcontent">
			<div class="title"><h3>分类统计</h3></div>
			<table class="formtable" cellspacing="5" cellpadding="5">
				<th>分类名称</th>
				<th>活动总数</th>				
				<th>上架活动</th>
				<th>下架活动</th>
				<!--{loop $cat_static $catid $catdata}-->
				<tr>
					<td>{$catdata[catname]}</td>
					<td>{$catdata[total]}</td>
					<td>{$catdata[upindex_act]}</td>
					<td>{$catdata[downindex_act]}</td>
				</tr>
				<!--{/loop}-->	
			</table>
		</div><br />
		
		<div class="bdrcontent">
			<div class="title"><h3>点击排行</h3></div>
			<table class="formtable" cellspacing="5" cellpadding="5">
				<th>排名</th>
				<th>title</th>
				<th>点击数</th>				
				<th>回复数</th>

				<!--{loop $jumptop50 $num $act}-->
				<tr>
					<td><!--{eval echo ($num+1)}--></td>
					<td>
						<a href="<!--{eval echo base_url()}-->index/index/0/{$act[aid]}" target="_blank">{$act[title]}</a>
					</td>
					<td>{$act[jumpnum]}</td>
					<td>{$act[replynum]}</td>
				</tr>
				<!--{/loop}-->	
			</table>
		</div><br />
		
	</div>
	<br>
</div>

<div class="side">
	<!--{template admin/side}-->
</div>

<!--{template admin/footer_tpl}-->